home *** CD-ROM | disk | FTP | other *** search
/ PD ROM 1 / PD ROM Volume I - Macintosh Software from BMUG (1988).iso / Stacks / Updates⁄New / TicklerMaster™ File / background_4223.txt < prev    next >
Encoding:
Text File  |  1988-06-01  |  5.6 KB  |  294 lines

  1. -- background: 4223 from stack: in
  2. -- bmap block id: 4651
  3. -- flags: 4000
  4. -- background id: 0
  5. -- name: Reminder
  6. ----- HyperTalk script -----
  7. on newCard --date stamp
  8.   put the long date && the time into field "Created"
  9. end newCard
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33. -- part 1 (field)
  34. -- low flags: 00
  35. -- high flags: 2002
  36. -- rect: left=139 top=70 right=96 bottom=490
  37. -- title width / last selected line: 0
  38. -- icon id / first selected line: 0 / 0
  39. -- text alignment: 0
  40. -- font id: 5
  41. -- text size: 14
  42. -- style flags: 0
  43. -- line height: 18
  44. -- part name: Follow-Up-Date
  45. ----- HyperTalk script -----
  46. on closeField
  47.   convert field id 1 to long date
  48. end closeField
  49.  
  50.  
  51.  
  52. -- part 2 (field)
  53. -- low flags: 00
  54. -- high flags: 0002
  55. -- rect: left=123 top=105 right=123 bottom=492
  56. -- title width / last selected line: 0
  57. -- icon id / first selected line: 0 / 0
  58. -- text alignment: 0
  59. -- font id: 2
  60. -- text size: 9
  61. -- style flags: 0
  62. -- line height: 12
  63. -- part name: Abstract
  64.  
  65.  
  66. -- part 6 (field)
  67. -- low flags: 00
  68. -- high flags: 0007
  69. -- rect: left=28 top=151 right=280 bottom=374
  70. -- title width / last selected line: 0
  71. -- icon id / first selected line: 0 / 0
  72. -- text alignment: 0
  73. -- font id: 3
  74. -- text size: 9
  75. -- style flags: 0
  76. -- line height: 12
  77. -- part name: Actions
  78.  
  79.  
  80. -- part 8 (field)
  81. -- low flags: 00
  82. -- high flags: 0000
  83. -- rect: left=173 top=286 right=304 bottom=430
  84. -- title width / last selected line: 0
  85. -- icon id / first selected line: 0 / 0
  86. -- text alignment: 0
  87. -- font id: 3
  88. -- text size: 10
  89. -- style flags: 0
  90. -- line height: 13
  91. -- part name: Created
  92.  
  93.  
  94. -- part 9 (field)
  95. -- low flags: 00
  96. -- high flags: 0000
  97. -- rect: left=233 top=304 right=324 bottom=469
  98. -- title width / last selected line: 0
  99. -- icon id / first selected line: 0 / 0
  100. -- text alignment: 0
  101. -- font id: 3
  102. -- text size: 10
  103. -- style flags: 0
  104. -- line height: 13
  105. -- part name: Completed
  106.  
  107.  
  108. -- part 14 (button)
  109. -- low flags: 00
  110. -- high flags: 0000
  111. -- rect: left=8 top=308 right=333 bottom=35
  112. -- title width / last selected line: 0
  113. -- icon id / first selected line: 9301 / 9301
  114. -- text alignment: 1
  115. -- font id: 0
  116. -- text size: 12
  117. -- style flags: 0
  118. -- line height: 16
  119. -- part name: Prev
  120. ----- HyperTalk script -----
  121. on mouseUp
  122.   visual effect wipe right
  123.   go to previous card of this background
  124. end mouseUp
  125.  
  126.  
  127.  
  128. -- part 15 (button)
  129. -- low flags: 00
  130. -- high flags: 0000
  131. -- rect: left=468 top=307 right=333 bottom=508
  132. -- title width / last selected line: 0
  133. -- icon id / first selected line: 27009 / 27009
  134. -- text alignment: 1
  135. -- font id: 0
  136. -- text size: 12
  137. -- style flags: 0
  138. -- line height: 16
  139. -- part name: Next
  140. ----- HyperTalk script -----
  141. on mouseUp
  142.   visual effect wipe left
  143.   go to next card of this background
  144. end mouseUp
  145.  
  146.  
  147.  
  148. -- part 17 (button)
  149. -- low flags: 00
  150. -- high flags: 0000
  151. -- rect: left=466 top=32 right=61 bottom=498
  152. -- title width / last selected line: 0
  153. -- icon id / first selected line: 21700 / 21700
  154. -- text alignment: 1
  155. -- font id: 0
  156. -- text size: 12
  157. -- style flags: 0
  158. -- line height: 16
  159. -- part name: Home
  160. ----- HyperTalk script -----
  161. on mouseUp
  162.   visual effect iris open
  163.   go Home
  164. end mouseUp
  165.  
  166.  
  167.  
  168. -- part 18 (button)
  169. -- low flags: 00
  170. -- high flags: A000
  171. -- rect: left=394 top=251 right=296 bottom=484
  172. -- title width / last selected line: 0
  173. -- icon id / first selected line: 1012 / 1012
  174. -- text alignment: 1
  175. -- font id: 0
  176. -- text size: 12
  177. -- style flags: 0
  178. -- line height: 16
  179. -- part name: Go To—To Do List
  180. ----- HyperTalk script -----
  181. on mouseUp
  182.   go to first card of this stack
  183. end mouseUp
  184.  
  185.  
  186.  
  187. -- part 19 (button)
  188. -- low flags: 80
  189. -- high flags: 0000
  190. -- rect: left=339 top=32 right=62 bottom=383
  191. -- title width / last selected line: 0
  192. -- icon id / first selected line: 17481 / 17481
  193. -- text alignment: 1
  194. -- font id: 0
  195. -- text size: 12
  196. -- style flags: 0
  197. -- line height: 16
  198. -- part name: To Address
  199. ----- HyperTalk script -----
  200. on mouseUp
  201.   get the selection
  202.   push card
  203.   visual effect zoom open
  204.   go to stack "Address"
  205.   find it
  206. end mouseUp
  207.  
  208.  
  209.  
  210. -- part 20 (button)
  211. -- low flags: 00
  212. -- high flags: 0000
  213. -- rect: left=402 top=31 right=63 bottom=448
  214. -- title width / last selected line: 0
  215. -- icon id / first selected line: 1017 / 1017
  216. -- text alignment: 1
  217. -- font id: 0
  218. -- text size: 12
  219. -- style flags: 0
  220. -- line height: 16
  221. -- part name: Phone
  222. ----- HyperTalk script -----
  223. on mouseUp
  224.   get the selection
  225.   visual effect iris open
  226.   push card
  227.   go to stack "Phone"
  228.   dial it
  229.   pop card
  230. end mouseUp
  231.  
  232.  
  233.  
  234.  
  235. -- part 21 (button)
  236. -- low flags: 00
  237. -- high flags: 0000
  238. -- rect: left=284 top=23 right=61 bottom=328
  239. -- title width / last selected line: 0
  240. -- icon id / first selected line: 20186 / 20186
  241. -- text alignment: 1
  242. -- font id: 0
  243. -- text size: 12
  244. -- style flags: 0
  245. -- line height: 16
  246. -- part name: Sort
  247. ----- HyperTalk script -----
  248. on mouseUp
  249.   sort dateTime by field id 1
  250. end mouseUp
  251.  
  252.  
  253.  
  254.  
  255.  
  256. -- part 22 (button)
  257. -- low flags: 00
  258. -- high flags: A003
  259. -- rect: left=376 top=130 right=150 bottom=495
  260. -- title width / last selected line: 0
  261. -- icon id / first selected line: 0 / 0
  262. -- text alignment: 1
  263. -- font id: 0
  264. -- text size: 12
  265. -- style flags: 0
  266. -- line height: 16
  267. -- part name: Carry Over
  268. ----- HyperTalk script -----
  269. on mouseUp  -- adds one day to date field
  270.  
  271.   get bkgnd field id 1
  272.   convert it to seconds
  273.   add (24*60*60) to it
  274.   convert it to long date
  275.   put it into field id 1  --"Follow-Up-Date"
  276.   put it into temp1
  277.   convert temp1 to short date
  278.   put empty into field id 41  --   undo ‚àö in upDate Monthly
  279.   put empty into field id 40  --   undo ‚àö in upDate Weekly
  280.   ask " Carry Over to which Day" with temp1
  281.   if it is temp1 then
  282.     exit mouseUp
  283.   else
  284.     if it is not temp1 then
  285.       convert it to long date
  286.       put it into field id 1  --"follow-Up-Date"
  287.       put empty into field id 41  --   undo ‚àö in upDate Monthly
  288.       put empty into field id 40  --   undo ‚àö in upDate Weekly
  289.     end if
  290.   end if
  291. end mouseUp
  292.  
  293.  
  294.